package cn.com.zsw.gblog.modules.user.service;

import cn.com.zsw.gblog.modules.user.entity.GbUserRoleEntity;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * (gb_sys_user)表服务接口
 *
 * @author shiwangzhou
 * @since 2020-09-17 16:50:13
 */
public interface GbUserRoleService extends IService<GbUserRoleEntity> {
    /**
     * desc: 给用户设置角色
     *
     * @param userId 用户id
     * @param roleId 角色id
     * @return void
     * @author: shiwangZhou
     * @date: 2020-09-30 11:26
     */

    void setRole(Long userId, Long roleId);
}